package com.frejoys.common.dto.ad;

import com.frejoys.common.dto.common.PageDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author wangzhicheng
 * @version 1.0
 * @date 2024/5/3 16:37
 */
@Data
public class AdPageDto extends PageDto {
    // 类型：1自定义广告，2店铺广告
    @Schema(type = "Integer", name = "type", description = "类型：0静态广告，1自定义广告，2店铺广告", defaultValue = "1")
    private Integer type;

    // 位置：1首页广告
    @Schema(type = "Integer", name = "site", description = "位置：1首页广告", defaultValue = "1")
    private Integer site;

    @Schema(type = "String", name = "startTime", description = "起始时间", required = false, defaultValue = "2023-11-30 12:00:00")
    private String startTime;

    @Schema(type = "String", name = "endTime", description = "结束时间", required = false, defaultValue = "2023-11-30 12:00:00")
    private String endTime;
}
